<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Membership Levels</title>
<script type="text/javascript" src="__PUBLIC__/Js/Base.js"></script>
<script type="text/javascript" src="__PUBLIC__/Js/prototype.js"></script>
<script type="text/javascript" src="__PUBLIC__/Js/mootools.js"></script>
<script type="text/javascript" src="__PUBLIC__/Js/Ajax/ThinkAjax.js"></script>
<link href="__PUBLIC__/css/skin.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
	function update() {
		ThinkAjax.sendForm('dataForm', '__URL__/update', complete, 'result');
	}
	function complete(data, status) {
		if (status == 1) {
			alert("操作成功");
			window.setTimeout(function() {
				window.location.href = '__URL__', 20000
			});
		}else{
			alert("操作失败");
		}
	}
</script>
</head>
<body>
	<table width="100%" border="0" cellpadding="0" cellspacing="0">
		<tr>
			<td width="17" height="29" valign="top" background="__PUBLIC__/images/mail_leftbg.gif"><img
				src="__PUBLIC__/images/left-top-right.gif" width="17" height="29" /></td>
			<td width="935" valign="top" background="__PUBLIC__/images/content-bg.gif">
				<table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
					<tr>
						<td height="31"><div class="titlebt">会员级别</div></td>
					</tr>
				</table>
			</td>
			<td width="16" valign="top" background="__PUBLIC__/images/mail_rightbg.gif"><img src="__PUBLIC__/images/nav-right-bg.gif"
				width="16" height="29" /></td>
		</tr>
		<tr>
			<td height="71" valign="middle" background="__PUBLIC__/images/mail_leftbg.gif">&nbsp;</td>
			<td valign="top" bgcolor="#F7F8F9"><table width="100%" height="138" border="0" cellpadding="0" cellspacing="0">
					<tr>
						<td height="13" valign="top">&nbsp;</td>
					</tr>
					<tr>
						<td valign="top">
						<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
								<tr>
									<td class="left_txt">当前位置：<a href="__URL__">会员级别</a></td>
								</tr>
								<tr>
									<td height="20"><table width="100%" height="1" border="0" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC">
											<tr>
												<td></td>
											</tr>
										</table>
									</td>
								</tr>
								<tr>
									<td><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="nowtable">
											<tr>
												<td class="left_bt2">&nbsp;&nbsp;&nbsp;&nbsp;会员级别</td>
											</tr>
										</table>
									</td>
								</tr>
								<tr>
									<td>
										<table width="100%" border="0" cellspacing="0" cellpadding="0">
											<form id="dataForm" name="dataForm" method="POST" action="__URL__/update">
											<input type="hidden" name="id"  value="<?php echo ($vo["id"]); ?>"/>
												<tr>
													<td width="20%" height="30" align="right" bgcolor="#f2f2f2" class="left_txt2">级别名称：</td>
													<td width="3%" bgcolor="#f2f2f2">&nbsp;</td>
													<td width="32%" height="30" bgcolor="#f2f2f2"><input name="level_name" type="text" id="level_name" size="30"  value="<?php echo ($vo["level_name"]); ?>" /></td>
												</tr>
												<tr>
													<td height="30" align="right" class="left_txt2">已消费金额(单位:美元)：</td>
													<td>&nbsp;</td>
													<td height="30"><input type="text" name="amount" size="30"  id="amount" value="<?php echo ($vo["amount"]); ?>" /></td>
												</tr>
											<tr>
												<td width="50%" height="30" align="center" colspan="4"><input type="submit"  value="Submit" name="B1" />
													&nbsp;&nbsp;&nbsp; <input type="reset" value="Reset" name="B12" />
												</td>
											</tr>
											</form>
										</table>
									</td>
								</tr>
							</table></td>
					</tr>
				</table>
</body>
</html>